package com.jy.api.service;

import com.jy.api.domain.Reward;
import com.jy.api.signUpReq.MarsCallReq.*;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

/**
 * Created by xiaohua on 2018/11/12.
 */
public interface RewardService {


    Map<String, Object> createRewardOrder(RewardOrderReq req);

    Reward updateReward(RewardUpdateReq req);

    Page<Reward> getRewardItem(String storeId, Pageable pageable);

    Map<String, Object> getRewardRanking(String storeId,String empId);


    EmpRewardRes getEmpRewards(String empId, String from, String source, String type, String storeId, Integer year, Integer month,String judge);


    Map<String, Object> getMemberInfo(String id);


    Map<String, Object> updateMemberByMemberId(MemberRewardReq req);


    List<RewEmpRes> getEmp(String storeId);


}
